//===========================================
// AirCrash Game Engine
// Effect with Shadow Class
//===========================================

#ifndef EFFECT_SHADOW_CLASS
#define EFFECT_SHADOW_CLASS

class EffectShadow
{
public:
	EffectShadow(const tstring& file);
	virtual ~EffectShadow();

	void SetMatrixen(const D3DXMATRIX& world, const D3DXMATRIX& view, const D3DXMATRIX& proj);

	ID3D10EffectTechnique* GetTech() const;

private:
	ID3D10Effect* m_Effect;
	ID3D10EffectTechnique *m_ShadowTech;

	D3DXMATRIX m_View, m_Proj;

	ID3D10EffectMatrixVariable *m_WVP;

	EffectShadow(const EffectShadow &t);
	EffectShadow& operator= (const EffectShadow &t);
};
#endif